GenerateScriptTypeAttribute(Type) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the GenerateScriptTypeAttribute class for the specified type.
public:
GenerateScriptTypeAttribute(Type ^ type);
public GenerateScriptTypeAttribute (Type type);
new System.Web.Script.Services.GenerateScriptTypeAttribute : Type -> System.Web.Script.Services.GenerateScriptTypeAttribute
Public Sub New (type As Type)
Parameters
- type
- Type
The type to include in the proxy class.
Exceptions
type
is null
.
Examples
The following example shows how to use GenerateScriptTypeAttribute to generate a proxy object for the specified type that uses a specific type identifier for the metadata marker.
Remarks
The ScriptTypeId property is an optional named parameter for this constructor.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om