Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CodeSnippetCompileUnit Properties

CodeSnippetCompileUnit Properties

The CodeSnippetCompileUnit type exposes the following members.

  Name Description
Public property AssemblyCustomAttributes Gets a collection of custom attributes for the generated assembly. (Inherited from CodeCompileUnit.)
Public property EndDirectives Gets a CodeDirectiveCollection object containing end directives. (Inherited from CodeCompileUnit.)
Public property LinePragma Gets or sets the line and file information about where the code is located in a source code document.
Public property Namespaces Gets the collection of namespaces. (Inherited from CodeCompileUnit.)
Public property ReferencedAssemblies Gets the referenced assemblies. (Inherited from CodeCompileUnit.)
Public property StartDirectives Gets a CodeDirectiveCollection object containing start directives. (Inherited from CodeCompileUnit.)
Public property UserData Gets the user-definable data for the current object. (Inherited from CodeObject.)
Public property Value Gets or sets the literal code fragment to represent.
Top
Show:
© 2015 Microsoft