Assembly: Microsoft.ConfigurationManagement (in microsoft.configurationmanagement.dll)
Usage
Visual Basic |
---|
Dim page As SmsPageXmlData Dim assembly As Assembly Dim assemblyNamespace As String Dim returnValue As Type returnValue = UtilityClass.GetPropertyPageType(page, assembly, assemblyNamespace) |
Syntax
Visual Basic |
---|
<PermissionSetAttribute(SecurityAction.LinkDemand, Name:="FullTrust")> _ <PermissionSetAttribute(SecurityAction.InheritanceDemand, Name:="FullTrust")> _ Public Shared Function GetPropertyPageType ( _ page As SmsPageXmlData, _ assembly As Assembly, _ assemblyNamespace As String _ ) As Type |
C# |
---|
[PermissionSetAttribute(SecurityAction.LinkDemand, Name="FullTrust")] [PermissionSetAttribute(SecurityAction.InheritanceDemand, Name="FullTrust")] public static Type GetPropertyPageType ( SmsPageXmlData page, Assembly assembly, string assemblyNamespace ) |
C++ |
---|
[PermissionSetAttribute(SecurityAction::LinkDemand, Name=L"FullTrust")] [PermissionSetAttribute(SecurityAction::InheritanceDemand, Name=L"FullTrust")] public: static Type^ GetPropertyPageType ( SmsPageXmlData^ page, Assembly^ assembly, String^ assemblyNamespace ) |
J# |
---|
/** @attribute PermissionSetAttribute(SecurityAction.LinkDemand, Name="FullTrust") */ /** @attribute PermissionSetAttribute(SecurityAction.InheritanceDemand, Name="FullTrust") */ public static Type GetPropertyPageType ( SmsPageXmlData page, Assembly assembly, String assemblyNamespace ) |
JScript |
---|
public static function GetPropertyPageType ( page : SmsPageXmlData, assembly : Assembly, assemblyNamespace : String ) : Type |
Parameters
- page
-
[in] SmsPageXmlData object.
- assembly
-
[in] System.Reflection.Assembly object for the XML data.
- assemblyNamespace
-
[in] Name of the assembly namespace.
Return Value
System.Type object that represents the property page type.Exceptions
Exception type | Condition |
---|---|
ArgumentNullException |
The assembly parameter cannot be null. |
ArgumentException |
The assemblyNamespace parameter cannot be null or an empty string. |
XmlException |
The XML is missing custom assembly information. |
Thread Safety
Any public static (Shared in Visual
Basic) members of this type are thread safe. Any instance members
are not guaranteed to be thread safe.