ElementType Property
ID
Top
TOC
Collapse the table of content
Expand the table of content

ElementType Property

Visual Studio .NET 2003

Sets or returns an object representing the programmatic type.

[Visual Basic .NET]
Public Property ElementType() As CodeTypeRef
[Visual Basic 6]
Property Get ElementType() As CodeTypeRef
Property Let ElementType( _
   ByVal NewValue As CodeTypeRef _
) 
[C++]
HRESULT __stdcall get_ElementType(
   /* [out, retval] */ CodeTypeRef** retVal
);
HRESULT __stdcall put_ElementType(
   /* [in] */ CodeTypeRef* NewValue
);
[C#]
CodeTypeRef ElementType {get; set;}
[JScript .NET]
public function get ElementType() : CodeTypeRef
public function set ElementType(
   NewValue : CodeTypeRef
)

Parameters

NewValue
The new value. A CodeTypeRef object.

Return Value

Returns a CodeTypeRef object.

Remarks

Returns the type of the elements of this array type if Kind is vsCMTypeRefArray. This may be Nothing for languages that have a default type.

See Also

Applies To:CodeTypeRef Object

Show:
© 2016 Microsoft