ICodeGenerationHost.GetTypeShareKind 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 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 GetTypeShareKind ( _
typeName As String _
) As CodeMemberShareKind
'Usage
Dim instance As ICodeGenerationHost
Dim typeName As String
Dim returnValue As CodeMemberShareKind
returnValue = instance.GetTypeShareKind(typeName)
CodeMemberShareKind GetTypeShareKind(
string typeName
)
CodeMemberShareKind GetTypeShareKind(
String^ typeName
)
abstract GetTypeShareKind :
typeName:string -> CodeMemberShareKind
function GetTypeShareKind(
typeName : String
) : CodeMemberShareKind
Parameters
- typeName
Type: System.String
The AssemblyQualifiedName from the source project.
Return Value
Type: Microsoft.ServiceModel.DomainServices.Tools.CodeMemberShareKind
An instance of CodeMemberShareKind that indicates whether the type is shared and in what way.