Share via


ICodeGenerationHost.GetPropertyShareKind Method

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Returns a value indicating whether the a property named propertyName exposed by the type specified by typeName from the source project is also visible to the target project.

Namespace:  Microsoft.ServiceModel.DomainServices.Tools
Assembly:  Microsoft.ServiceModel.DomainServices.Tools (in Microsoft.ServiceModel.DomainServices.Tools.dll)

Syntax

'Declaration
Function GetPropertyShareKind ( _
    typeName As String, _
    propertyName As String _
) As CodeMemberShareKind
'Usage
Dim instance As ICodeGenerationHost
Dim typeName As String
Dim propertyName As String
Dim returnValue As CodeMemberShareKind

returnValue = instance.GetPropertyShareKind(typeName, _
    propertyName)
CodeMemberShareKind GetPropertyShareKind(
    string typeName,
    string propertyName
)
CodeMemberShareKind GetPropertyShareKind(
    String^ typeName, 
    String^ propertyName
)
abstract GetPropertyShareKind : 
        typeName:string * 
        propertyName:string -> CodeMemberShareKind 
function GetPropertyShareKind(
    typeName : String, 
    propertyName : String
) : CodeMemberShareKind

Parameters

Return Value

Type: Microsoft.ServiceModel.DomainServices.Tools.CodeMemberShareKind
An instance of CodeMemberShareKind that indicates whether the property is shared and in what way.

See Also

Reference

ICodeGenerationHost Interface

Microsoft.ServiceModel.DomainServices.Tools Namespace